package com.aop.xml;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestXMlAop {

	@Test
	public void t1() {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext_aop_xml.xml");
		ComputerImpl bean = applicationContext.getBean(ComputerImpl.class);
		bean.test();
		
//		com.aop.xml.Test bean2 = applicationContext.getBean(com.aop.xml.Test.class);
//		bean2.test();
	}
}
